package com.plum.netty.demo;

import com.google.gson.*;
import com.plum.netty.protocol.Serializer;

public class TestGson {
    public static void main(String[] args) {
        Gson gson = new GsonBuilder().registerTypeAdapter(Class.class, new Serializer.ClassCodec()).create();
        String s = gson.toJson(String.class);
        System.out.println(s);
    }

}
